home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 02 - 1986 / 02.03 Mar 86.sit / 02.03 Mar 86 / C 2-3 / DA Source / MacTutor.c next >
MacBinary  |  1986-02-14  |  5.5 KB  |  [TEXT/EDIT]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Feb 14 07:13:28 1986, modified Fri Feb 14 07:13:28 1986, creator Macintosh Edit, type ASCII, 4967 bytes "MacTutor.c" , at 0x13e7 388 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[EDIT]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 4d 61 63 54 75 74 | 6f 72 2e 63 00 00 00 00 |..MacTut|or.c....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 45 44 49 | 54 01 00 00 00 00 00 00 |.TEXTEDI|T.......|
|00000050| 00 00 00 00 00 13 67 00 | 00 01 84 9a 78 dc 68 9a |......g.|....x.h.|
|00000060| 78 dc 68 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |x.h.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d9 c2 00 00 |........|........|
|00000080| 2f 2a 09 54 68 65 20 4d | 61 63 54 75 74 6f 72 20 |/*.The M|acTutor |
|00000090| 44 65 73 6b 20 41 63 63 | 65 73 73 6f 72 79 20 0d |Desk Acc|essory .|
|000000a0| 20 2a 20 20 20 20 20 20 | 0d 20 2a 20 09 09 a9 20 | * |. * ... |
|000000b0| 31 39 38 35 20 62 79 20 | 4a 61 6e 20 45 75 67 65 |1985 by |Jan Euge|
|000000c0| 6e 69 64 65 73 20 66 6f | 72 20 4d 61 63 54 75 74 |nides fo|r MacTut|
|000000d0| 6f 72 20 0d 20 2a 20 20 | 20 20 20 09 50 2e 4f 2e |or . * | .P.O.|
|000000e0| 20 42 6f 78 20 31 35 31 | 0d 20 2a 20 20 20 09 4d | Box 151|. * .M|
|000000f0| 61 79 6e 61 72 64 2c 20 | 4d 41 20 20 30 31 37 35 |aynard, |MA 0175|
|00000100| 34 0d 20 2a 20 20 20 20 | 09 28 36 31 37 29 20 38 |4. * |.(617) 8|
|00000110| 39 37 2d 37 37 34 39 0d | 20 2a 20 20 20 09 41 6c |97-7749.| * .Al|
|00000120| 6c 20 72 69 67 68 74 73 | 20 72 65 73 65 72 76 65 |l rights| reserve|
|00000130| 64 0d 20 2a 0d 20 2a 2f | 0d 20 0d 23 69 6e 63 6c |d. *. */|. .#incl|
|00000140| 75 64 65 20 3c 61 63 63 | 2e 68 3e 0d 23 69 6e 63 |ude <acc|.h>.#inc|
|00000150| 6c 75 64 65 20 3c 71 64 | 2e 68 3e 0d 23 69 6e 63 |lude <qd|.h>.#inc|
|00000160| 6c 75 64 65 20 3c 6d 65 | 6d 2e 68 3e 0d 23 69 6e |lude <me|m.h>.#in|
|00000170| 63 6c 75 64 65 20 3c 6d | 69 73 63 2e 68 3e 0d 23 |clude <m|isc.h>.#|
|00000180| 69 6e 63 6c 75 64 65 20 | 3c 77 69 6e 2e 68 3e 0d |include |<win.h>.|
|00000190| 23 69 6e 63 6c 75 64 65 | 20 3c 74 65 2e 68 3e 0d |#include| <te.h>.|
|000001a0| 23 69 6e 63 6c 75 64 65 | 20 3c 63 6f 6e 74 72 6f |#include| <contro|
|000001b0| 6c 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 64 |l.h>.#in|clude <d|
|000001c0| 65 73 6b 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |esk.h>.#|include |
|000001d0| 3c 64 65 76 69 63 65 2e | 68 3e 0d 23 69 6e 63 6c |<device.|h>.#incl|
|000001e0| 75 64 65 20 3c 64 69 61 | 6c 6f 67 2e 68 3e 0d 23 |ude <dia|log.h>.#|
|000001f0| 69 6e 63 6c 75 64 65 20 | 3c 63 74 79 70 65 2e 68 |include |<ctype.h|
|00000200| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 3c 65 72 72 6e |>.#inclu|de <errn|
|00000210| 6f 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 65 |o.h>.#in|clude <e|
|00000220| 76 65 6e 74 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |vent.h>.|#include|
|00000230| 20 3c 66 69 6c 65 2e 68 | 3e 0d 23 69 6e 63 6c 75 | <file.h|>.#inclu|
|00000240| 64 65 20 3c 66 6f 6e 74 | 2e 68 3e 0d 23 69 6e 63 |de <font|.h>.#inc|
|00000250| 6c 75 64 65 20 3c 72 65 | 73 2e 68 3e 0d 23 69 6e |lude <re|s.h>.#in|
|00000260| 63 6c 75 64 65 20 3c 6d | 65 6e 75 2e 68 3e 0d 23 |clude <m|enu.h>.#|
|00000270| 69 6e 63 6c 75 64 65 20 | 3c 6f 73 2e 68 3e 0d 23 |include |<os.h>.#|
|00000280| 69 6e 63 6c 75 64 65 20 | 3c 70 61 63 6b 2e 68 3e |include |<pack.h>|
|00000290| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 71 64 76 61 72 |.#includ|e <qdvar|
|000002a0| 73 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 73 |s.h>.#in|clude <s|
|000002b0| 65 67 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 20 3c |eg.h>.#i|nclude <|
|000002c0| 73 74 64 69 6f 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |stdio.h>|.#includ|
|000002d0| 65 20 3c 73 74 72 69 6e | 67 2e 68 3e 0d 0d 23 64 |e <strin|g.h>..#d|
|000002e0| 65 66 69 6e 65 09 09 45 | 4e 4f 55 47 48 09 33 35 |efine..E|NOUGH.35|
|000002f0| 30 30 0d 23 64 65 66 69 | 6e 65 09 09 4d 45 4e 55 |00.#defi|ne..MENU|
|00000300| 49 44 09 2d 36 33 33 0d | 0d 09 0d 41 43 43 28 30 |ID.-633.|...ACC(0|
|00000310| 78 36 34 30 30 2c 09 09 | 09 09 2f 2a 20 4e 65 65 |x6400,..|../* Nee|
|00000320| 64 4c 6f 63 6b 2c 63 6f | 6e 74 72 6f 6c 2d 65 6e |dLock,co|ntrol-en|
|00000330| 61 62 6c 65 64 2c 4e 65 | 65 64 54 69 6d 65 20 2a |abled,Ne|edTime *|
|00000340| 2f 0d 20 20 20 20 32 30 | 2c 09 09 09 09 09 2f 2a |/. 20|,...../*|
|00000350| 20 74 69 63 6b 73 20 6e | 65 65 64 65 64 20 2a 2f | ticks n|eeded */|
|00000360| 0d 20 20 20 20 30 78 46 | 46 46 42 2c 09 09 09 09 |. 0xF|FFB,....|
|00000370| 2f 2a 20 61 6c 6c 20 65 | 76 65 6e 74 73 20 65 78 |/* all e|vents ex|
|00000380| 63 65 70 74 20 6d 6f 75 | 73 65 75 70 2a 2f 0d 20 |cept mou|seup*/. |
|00000390| 20 20 20 2d 36 33 33 2c | 09 09 09 09 2f 2a 20 6d | -633,|..../* m|
|000003a0| 65 6e 75 20 69 64 20 20 | 2a 2f 0d 20 20 20 20 39 |enu id |*/. 9|
|000003b0| 2c 20 22 5c 30 4d 61 63 | 54 75 74 6f 72 22 29 09 |, "\0Mac|Tutor").|
|000003c0| 2f 2a 20 4c 65 6e 67 74 | 68 20 61 6e 64 20 74 65 |/* Lengt|h and te|
|000003d0| 78 74 20 6f 66 20 74 69 | 74 6c 65 20 2d 20 6d 75 |xt of ti|tle - mu|
|000003e0| 73 74 20 62 65 20 6f 64 | 64 2a 2f 0d 0d 69 6e 74 |st be od|d*/..int|
|000003f0| 09 77 68 69 63 68 73 74 | 72 3b 09 09 09 2f 2a 6f |.whichst|r;.../*o|
|00000400| 75 72 20 6f 6e 6c 79 20 | 67 6c 6f 62 61 6c 2a 2f |ur only |global*/|
|00000410| 0d 0d 61 63 63 6f 70 65 | 6e 28 64 63 74 6c 2c 20 |..accope|n(dctl, |
|00000420| 70 62 29 0d 64 63 74 6c | 65 6e 74 72 79 09 09 2a |pb).dctl|entry..*|
|00000430| 64 63 74 6c 3b 0d 70 61 | 72 61 6d 62 6c 6f 63 6b |dctl;.pa|ramblock|
|00000440| 72 65 63 20 09 2a 70 62 | 3b 0d 7b 0d 09 4d 65 6e |rec .*pb|;.{..Men|
|00000450| 75 48 61 6e 64 6c 65 09 | 6d 65 6e 75 3b 0d 09 6c |uHandle.|menu;..l|
|00000460| 6f 6e 67 09 09 66 72 65 | 65 6d 65 6d 2c 67 72 6f |ong..fre|emem,gro|
|00000470| 77 3b 0d 09 57 69 6e 64 | 6f 77 50 65 65 6b 09 77 |w;..Wind|owPeek.w|
|00000480| 70 3b 0d 09 52 65 63 74 | 09 09 77 72 3b 0d 09 4d |p;..Rect|..wr;..M|
|00000490| 65 6e 75 48 61 6e 64 6c | 65 09 74 65 73 74 6d 65 |enuHandl|e.testme|
|000004a0| 6e 75 3b 0d 09 48 61 6e | 64 6c 65 09 09 72 68 61 |nu;..Han|dle..rha|
|000004b0| 6e 64 6c 65 3b 0d 09 52 | 65 73 54 79 70 65 09 09 |ndle;..R|esType..|
|000004c0| 72 65 73 74 79 70 65 3b | 0d 09 63 68 61 72 09 09 |restype;|..char..|
|000004d0| 72 65 73 6e 61 6d 65 5b | 36 34 5d 3b 0d 09 69 6e |resname[|64];..in|
|000004e0| 74 09 09 09 69 64 3b 0d | 09 0d 09 69 66 28 74 65 |t...id;.|...if(te|
|000004f0| 73 74 6d 65 6e 75 20 3d | 20 47 65 74 4d 48 61 6e |stmenu =| GetMHan|
|00000500| 64 6c 65 28 4d 45 4e 55 | 49 44 29 29 20 20 2f 2a |dle(MENU|ID)) /*|
|00000510| 69 73 20 69 74 20 6f 70 | 65 6e 20 61 6c 72 65 61 |is it op|en alrea|
|00000520| 64 79 3f 2a 2f 0d 09 09 | 7b 0d 09 09 53 79 73 42 |dy?*/...|{...SysB|
|00000530| 65 65 70 28 32 29 3b 20 | 0d 09 09 72 65 74 75 72 |eep(2); |...retur|
|00000540| 6e 28 31 29 3b 0d 09 09 | 7d 0d 09 65 6c 73 65 0d |n(1);...|}..else.|
|00000550| 09 09 7b 09 09 09 09 09 | 09 09 09 2f 2a 6e 6f 2c |..{.....|.../*no,|
|00000560| 20 69 73 20 74 68 65 72 | 65 20 6d 65 6d 6f 72 79 | is ther|e memory|
|00000570| 3f 2a 2f 0d 09 09 66 72 | 65 65 6d 65 6d 20 3d 20 |?*/...fr|eemem = |
|00000580| 4d 61 78 4d 65 6d 28 26 | 67 72 6f 77 29 3b 0d 09 |MaxMem(&|grow);..|
|00000590| 09 69 66 28 66 72 65 65 | 6d 65 6d 3c 45 4e 4f 55 |.if(free|mem<ENOU|
|000005a0| 47 48 29 0d 09 09 09 7b | 0d 09 09 09 53 79 73 42 |GH)....{|....SysB|
|000005b0| 65 65 70 28 32 29 3b 0d | 09 09 09 72 65 74 75 72 |eep(2);.|...retur|
|000005c0| 6e 28 31 29 3b 09 09 09 | 09 09 2f 2a 6e 6f 2c 20 |n(1);...|../*no, |
|000005d0| 72 65 74 75 72 6e 2a 2f | 0d 09 09 09 7d 0d 09 09 |return*/|....}...|
|000005e0| 7d 0d 09 09 0d 09 6d 65 | 6e 75 20 3d 20 4e 65 77 |}.....me|nu = New|
|000005f0| 4d 65 6e 75 28 4d 45 4e | 55 49 44 2c 22 4d 61 63 |Menu(MEN|UID,"Mac|
|00000600| 54 75 74 6f 72 22 29 3b | 20 2f 2a 69 6e 73 74 61 |Tutor");| /*insta|
|00000610| 6c 6c 20 74 68 65 20 6d | 65 6e 75 2a 2f 0d 09 41 |ll the m|enu*/..A|
|00000620| 70 70 65 6e 64 4d 65 6e | 75 28 6d 65 6e 75 2c 22 |ppendMen|u(menu,"|
|00000630| 28 2d 22 29 3b 0d 09 41 | 70 70 65 6e 64 4d 65 6e |(-");..A|ppendMen|
|00000640| 75 28 6d 65 6e 75 2c 22 | 41 62 6f 75 74 20 4d 61 |u(menu,"|About Ma|
|00000650| 63 54 75 74 6f 72 22 29 | 3b 0d 09 49 6e 73 65 72 |cTutor")|;..Inser|
|00000660| 74 4d 65 6e 75 28 6d 65 | 6e 75 2c 30 29 3b 0d 09 |tMenu(me|nu,0);..|
|00000670| 44 72 61 77 4d 65 6e 75 | 42 61 72 28 29 3b 0d 09 |DrawMenu|Bar();..|
|00000680| 77 68 69 63 68 73 74 72 | 20 3d 20 30 3b 09 09 09 |whichstr| = 0;...|
|00000690| 09 09 09 2f 2a 69 6e 69 | 74 69 61 6c 69 7a 65 20 |.../*ini|tialize |
|000006a0| 63 6f 75 6e 74 65 72 2a | 2f 0d 09 09 0d 09 69 66 |counter*|/.....if|
|000006b0| 20 28 64 63 74 6c 2d 3e | 64 43 74 6c 57 69 6e 64 | (dctl->|dCtlWind|
|000006c0| 6f 77 20 3d 3d 20 4e 55 | 4c 4c 29 09 2f 2a 6d 61 |ow == NU|LL)./*ma|
|000006d0| 6b 65 20 61 20 6e 65 77 | 20 77 69 6e 64 6f 77 2c |ke a new| window,|
|000006e0| 20 75 73 65 20 73 79 73 | 74 65 6d 20 66 6f 6e 74 | use sys|tem font|
|000006f0| 2a 2f 0d 09 09 7b 09 0d | 09 09 53 65 74 52 65 63 |*/...{..|..SetRec|
|00000700| 74 28 26 77 72 2c 20 32 | 30 2c 20 34 30 2c 20 32 |t(&wr, 2|0, 40, 2|
|00000710| 37 34 2c 20 32 34 30 29 | 3b 0d 09 09 77 70 20 3d |74, 240)|;...wp =|
|00000720| 20 4e 65 77 57 69 6e 64 | 6f 77 28 4e 55 4c 4c 2c | NewWind|ow(NULL,|
|00000730| 20 26 77 72 2c 20 22 4d | 61 63 54 75 74 6f 72 22 | &wr, "M|acTutor"|
|00000740| 2c 20 30 2c 20 32 32 2c | 20 2d 31 4c 2c 20 2d 31 |, 0, 22,| -1L, -1|
|00000750| 2c 20 30 4c 29 3b 0d 09 | 09 53 65 74 50 6f 72 74 |, 0L);..|.SetPort|
|00000760| 28 77 70 29 3b 09 09 09 | 09 0d 09 09 54 65 78 74 |(wp);...|....Text|
|00000770| 4d 6f 64 65 28 73 72 63 | 43 6f 70 79 29 3b 0d 09 |Mode(src|Copy);..|
|00000780| 09 54 65 78 74 46 6f 6e | 74 28 73 79 73 74 65 6d |.TextFon|t(system|
|00000790| 46 6f 6e 74 29 3b 0d 09 | 09 77 70 2d 3e 77 69 6e |Font);..|.wp->win|
|000007a0| 64 6f 77 4b 69 6e 64 20 | 3d 20 64 63 74 6c 2d 3e |dowKind |= dctl->|
|000007b0| 64 43 74 6c 52 65 66 4e | 75 6d 3b 20 20 2f 2a 73 |dCtlRefN|um; /*s|
|000007c0| 65 74 20 77 69 6e 64 6f | 77 6b 69 6e 64 20 74 6f |et windo|wkind to|
|000007d0| 20 6f 75 72 20 72 65 66 | 6e 75 6d 2a 2f 0d 09 09 | our ref|num*/...|
|000007e0| 64 63 74 6c 2d 3e 64 43 | 74 6c 57 69 6e 64 6f 77 |dctl->dC|tlWindow|
|000007f0| 20 3d 20 77 70 3b 0d 09 | 09 7d 0d 09 72 65 74 75 | = wp;..|.}..retu|
|00000800| 72 6e 20 30 3b 0d 7d 0d | 0d 61 63 63 63 6c 6f 73 |rn 0;.}.|.accclos|
|00000810| 65 28 64 63 74 6c 2c 20 | 70 62 29 0d 64 63 74 6c |e(dctl, |pb).dctl|
|00000820| 65 6e 74 72 79 20 2a 64 | 63 74 6c 3b 0d 70 61 72 |entry *d|ctl;.par|
|00000830| 61 6d 62 6c 6f 63 6b 72 | 65 63 20 2a 70 62 3b 0d |amblockr|ec *pb;.|
|00000840| 7b 0d 57 69 6e 64 6f 77 | 50 74 72 09 74 6d 70 77 |{.Window|Ptr.tmpw|
|00000850| 70 3b 0d 0d 09 74 6d 70 | 77 70 20 3d 20 28 57 69 |p;...tmp|wp = (Wi|
|00000860| 6e 64 6f 77 50 74 72 29 | 64 63 74 6c 2d 3e 64 43 |ndowPtr)|dctl->dC|
|00000870| 74 6c 57 69 6e 64 6f 77 | 3b 0d 09 64 63 74 6c 2d |tlWindow|;..dctl-|
|00000880| 3e 64 43 74 6c 57 69 6e | 64 6f 77 20 3d 20 4e 55 |>dCtlWin|dow = NU|
|00000890| 4c 4c 3b 09 09 09 2f 2a | 63 6c 65 61 72 20 74 68 |LL;.../*|clear th|
|000008a0| 65 20 77 69 6e 64 6f 77 | 20 66 69 65 6c 64 2a 2f |e window| field*/|
|000008b0| 0d 09 69 66 28 74 6d 70 | 77 70 29 20 44 69 73 70 |..if(tmp|wp) Disp|
|000008c0| 6f 73 65 57 69 6e 64 6f | 77 28 74 6d 70 77 70 29 |oseWindo|w(tmpwp)|
|000008d0| 3b 20 09 2f 2a 67 65 74 | 20 72 69 64 20 6f 66 20 |; ./*get| rid of |
|000008e0| 74 68 65 20 77 69 6e 64 | 6f 77 2a 2f 0d 09 44 65 |the wind|ow*/..De|
|000008f0| 6c 65 74 65 4d 65 6e 75 | 28 4d 45 4e 55 49 44 29 |leteMenu|(MENUID)|
|00000900| 3b 09 09 09 09 09 2f 2a | 61 6e 64 20 74 68 65 20 |;...../*|and the |
|00000910| 6d 65 6e 75 2a 2f 0d 09 | 44 72 61 77 4d 65 6e 75 |menu*/..|DrawMenu|
|00000920| 42 61 72 28 29 3b 0d 09 | 72 65 74 75 72 6e 20 30 |Bar();..|return 0|
|00000930| 3b 0d 7d 0d 0d 61 63 63 | 63 74 6c 28 64 63 74 6c |;.}..acc|ctl(dctl|
|00000940| 2c 20 70 62 29 09 0d 64 | 63 74 6c 65 6e 74 72 79 |, pb)..d|ctlentry|
|00000950| 20 2a 64 63 74 6c 3b 0d | 70 61 72 61 6d 62 6c 6f | *dctl;.|paramblo|
|00000960| 63 6b 72 65 63 20 2a 70 | 62 3b 0d 7b 0d 09 72 65 |ckrec *p|b;.{..re|
|00000970| 67 69 73 74 65 72 20 69 | 6e 74 09 69 74 65 6d 3b |gister i|nt.item;|
|00000980| 0d 09 69 6e 74 09 09 09 | 09 69 74 65 6d 68 69 74 |..int...|.itemhit|
|00000990| 3b 0d 09 48 61 6e 64 6c | 65 09 09 09 72 68 61 6e |;..Handl|e...rhan|
|000009a0| 64 6c 65 3b 0d 09 69 6e | 74 09 09 09 09 69 64 3b |dle;..in|t....id;|
|000009b0| 0d 09 52 65 73 54 79 70 | 65 09 09 09 72 65 73 74 |..ResTyp|e...rest|
|000009c0| 79 70 65 3b 0d 09 63 68 | 61 72 09 09 09 72 65 73 |ype;..ch|ar...res|
|000009d0| 6e 61 6d 65 5b 36 34 5d | 3b 0d 09 44 69 61 6c 6f |name[64]|;..Dialo|
|000009e0| 67 50 74 72 09 09 6d 79 | 64 69 61 6c 6f 67 3b 0d |gPtr..my|dialog;.|
|000009f0| 09 47 72 61 66 50 74 72 | 09 09 09 74 65 6d 70 6f |.GrafPtr|...tempo|
|00000a00| 72 74 3b 0d 0d 09 73 77 | 69 74 63 68 28 70 62 2d |rt;...sw|itch(pb-|
|00000a10| 3e 70 61 72 61 6d 75 6e | 69 6f 6e 2e 43 6e 74 72 |>paramun|ion.Cntr|
|00000a20| 6c 50 61 72 61 6d 2e 43 | 53 43 6f 64 65 29 20 20 |lParam.C|SCode) |
|00000a30| 2f 2a 67 65 74 20 63 6f | 6e 74 72 6f 6c 20 63 6f |/*get co|ntrol co|
|00000a40| 64 65 2a 2f 0d 09 7b 0d | 09 63 61 73 65 20 61 63 |de*/..{.|.case ac|
|00000a50| 63 45 76 65 6e 74 3a 09 | 09 09 09 09 2f 2a 65 76 |cEvent:.|..../*ev|
|00000a60| 65 6e 74 73 20 68 61 6e | 64 6c 65 64 20 68 65 72 |ents han|dled her|
|00000a70| 65 2a 2f 0d 09 09 62 72 | 65 61 6b 3b 0d 0d 09 63 |e*/...br|eak;...c|
|00000a80| 61 73 65 20 61 63 63 52 | 75 6e 3a 09 09 09 09 09 |ase accR|un:.....|
|00000a90| 2f 2a 63 61 6c 6c 65 64 | 20 70 65 72 69 6f 64 69 |/*called| periodi|
|00000aa0| 63 61 6c 6c 79 20 62 79 | 20 73 79 73 74 65 6d 2a |cally by| system*|
|00000ab0| 2f 0d 09 09 64 69 73 70 | 6c 61 79 28 64 63 74 6c |/...disp|lay(dctl|
|00000ac0| 29 3b 09 09 09 09 2f 2a | 61 63 63 6f 72 64 69 6e |);..../*|accordin|
|00000ad0| 67 20 74 6f 20 74 69 63 | 6b 20 63 6f 75 6e 74 2a |g to tic|k count*|
|00000ae0| 2f 0d 09 09 62 72 65 61 | 6b 3b 0d 09 09 09 09 0d |/...brea|k;......|
|00000af0| 09 63 61 73 65 20 61 63 | 63 4d 65 6e 75 3a 0d 09 |.case ac|cMenu:..|
|00000b00| 09 73 77 69 74 63 68 28 | 69 74 65 6d 20 3d 20 28 |.switch(|item = (|
|00000b10| 28 69 6e 74 20 2a 29 26 | 70 62 2d 3e 70 61 72 61 |(int *)&|pb->para|
|00000b20| 6d 75 6e 69 6f 6e 2e 43 | 6e 74 72 6c 50 61 72 61 |munion.C|ntrlPara|
|00000b30| 6d 2e 63 73 50 61 72 61 | 6d 29 5b 31 5d 29 0d 09 |m.csPara|m)[1])..|
|00000b40| 09 7b 0d 09 09 63 61 73 | 65 20 32 3a 0d 09 09 09 |.{...cas|e 2:....|
|00000b50| 47 65 74 50 6f 72 74 28 | 26 74 65 6d 70 6f 72 74 |GetPort(|&temport|
|00000b60| 29 3b 0d 09 09 09 72 68 | 61 6e 64 6c 65 20 3d 20 |);....rh|andle = |
|00000b70| 47 65 74 4e 61 6d 65 64 | 52 65 73 6f 75 72 63 65 |GetNamed|Resource|
|00000b80| 28 22 44 4c 4f 47 22 2c | 22 4d 54 55 54 49 4e 46 |("DLOG",|"MTUTINF|
|00000b90| 4f 22 29 3b 0d 09 09 09 | 47 65 74 52 65 73 49 6e |O");....|GetResIn|
|00000ba0| 66 6f 28 72 68 61 6e 64 | 6c 65 2c 26 69 64 2c 26 |fo(rhand|le,&id,&|
|00000bb0| 72 65 73 74 79 70 65 2c | 26 72 65 73 6e 61 6d 65 |restype,|&resname|
|00000bc0| 29 3b 09 09 09 0d 09 09 | 09 6d 79 64 69 61 6c 6f |);......|.mydialo|
|00000bd0| 67 20 3d 20 47 65 74 4e | 65 77 44 69 61 6c 6f 67 |g = GetN|ewDialog|
|00000be0| 28 69 64 2c 4e 55 4c 4c | 2c 28 6c 6f 6e 67 29 2d |(id,NULL|,(long)-|
|00000bf0| 31 29 3b 0d 09 09 09 53 | 65 74 50 6f 72 74 28 6d |1);....S|etPort(m|
|00000c00| 79 64 69 61 6c 6f 67 29 | 3b 0d 09 09 09 69 74 65 |ydialog)|;....ite|
|00000c10| 6d 68 69 74 20 3d 20 30 | 3b 0d 09 09 09 77 68 69 |mhit = 0|;....whi|
|00000c20| 6c 65 28 69 74 65 6d 68 | 69 74 20 21 3d 20 31 29 |le(itemh|it != 1)|
|00000c30| 4d 6f 64 61 6c 44 69 61 | 6c 6f 67 28 28 6c 6f 6e |ModalDia|log((lon|
|00000c40| 67 29 30 2c 26 69 74 65 | 6d 68 69 74 29 3b 20 0d |g)0,&ite|mhit); .|
|00000c50| 09 09 09 53 65 74 50 6f | 72 74 28 74 65 6d 70 6f |...SetPo|rt(tempo|
|00000c60| 72 74 29 3b 0d 09 09 09 | 44 69 73 70 6f 73 44 69 |rt);....|DisposDi|
|00000c70| 61 6c 6f 67 28 6d 79 64 | 69 61 6c 6f 67 29 3b 0d |alog(myd|ialog);.|
|00000c80| 09 09 09 77 68 69 63 68 | 73 74 72 20 3d 20 30 3b |...which|str = 0;|
|00000c90| 0d 09 09 09 48 69 6c 69 | 74 65 4d 65 6e 75 28 30 |....Hili|teMenu(0|
|00000ca0| 29 3b 0d 09 09 09 62 72 | 65 61 6b 3b 09 0d 09 09 |);....br|eak;....|
|00000cb0| 09 09 09 09 09 09 09 09 | 09 0d 09 09 7d 20 2f 2a |........|....} /*|
|00000cc0| 65 6e 64 20 6f 66 20 6d | 65 6e 75 20 73 77 69 74 |end of m|enu swit|
|00000cd0| 63 68 2a 2f 0d 0d 09 09 | 64 65 66 61 75 6c 74 3a |ch*/....|default:|
|00000ce0| 0d 09 09 09 62 72 65 61 | 6b 3b 0d 09 7d 09 09 09 |....brea|k;..}...|
|00000cf0| 09 2f 2a 65 6e 64 20 6f | 66 20 63 6f 6e 74 72 6f |./*end o|f contro|
|00000d00| 6c 20 73 77 69 74 63 68 | 2a 2f 0d 72 65 74 75 72 |l switch|*/.retur|
|00000d10| 6e 20 30 3b 0d 7d 20 09 | 09 09 09 09 2f 2a 65 6e |n 0;.} .|..../*en|
|00000d20| 64 20 6f 66 20 63 6f 6e | 74 72 6f 6c 2a 2f 0d 09 |d of con|trol*/..|
|00000d30| 0d 61 63 63 70 72 69 6d | 65 28 29 09 09 09 2f 2a |.accprim|e().../*|
|00000d40| 74 68 65 73 65 20 61 72 | 65 20 6e 75 6c 6c 20 62 |these ar|e null b|
|00000d50| 75 74 20 6d 75 73 74 20 | 62 65 20 64 65 66 69 6e |ut must |be defin|
|00000d60| 65 64 2a 2f 0d 7b 0d 7d | 0d 0d 61 63 63 73 74 61 |ed*/.{.}|..accsta|
|00000d70| 74 75 73 28 29 0d 7b 0d | 7d 0d 0d 64 69 73 70 6c |tus().{.|}..displ|
|00000d80| 61 79 28 64 63 74 6c 29 | 09 09 2f 2a 72 6f 75 74 |ay(dctl)|../*rout|
|00000d90| 69 6e 65 20 74 6f 20 64 | 6f 20 74 68 65 20 64 69 |ine to d|o the di|
|00000da0| 73 70 6c 61 79 2a 2f 0d | 64 63 74 6c 65 6e 74 72 |splay*/.|dctlentr|
|00000db0| 79 20 2a 64 63 74 6c 3b | 0d 7b 09 0d 52 65 63 74 |y *dctl;|.{..Rect|
|00000dc0| 09 09 77 72 2c 64 72 65 | 63 74 3b 0d 69 6e 74 09 |..wr,dre|ct;.int.|
|00000dd0| 09 09 69 3b 0d 52 67 6e | 48 61 6e 64 6c 65 20 09 |..i;.Rgn|Handle .|
|00000de0| 72 67 6e 3b 0d 57 69 6e | 64 6f 77 50 65 65 6b 09 |rgn;.Win|dowPeek.|
|00000df0| 77 70 3b 0d 0d 77 70 20 | 3d 20 28 57 69 6e 64 6f |wp;..wp |= (Windo|
|00000e00| 77 50 65 65 6b 29 64 63 | 74 6c 2d 3e 64 43 74 6c |wPeek)dc|tl->dCtl|
|00000e10| 57 69 6e 64 6f 77 3b 0d | 53 65 74 50 6f 72 74 28 |Window;.|SetPort(|
|00000e20| 77 70 29 3b 09 09 09 09 | 09 2f 2a 73 65 74 20 70 |wp);....|./*set p|
|00000e30| 6f 72 74 20 74 6f 20 6f | 75 72 20 77 69 6e 64 6f |ort to o|ur windo|
|00000e40| 77 2a 2f 0d 77 72 20 3d | 20 77 70 2d 3e 70 6f 72 |w*/.wr =| wp->por|
|00000e50| 74 2e 70 6f 72 74 52 65 | 63 74 3b 09 09 09 2f 2a |t.portRe|ct;.../*|
|00000e60| 61 6e 64 20 67 65 74 20 | 74 68 65 20 70 6f 72 74 |and get |the port|
|00000e70| 20 72 65 63 74 2a 2f 0d | 77 68 69 63 68 73 74 72 | rect*/.|whichstr|
|00000e80| 20 2b 3d 20 31 3b 09 09 | 09 09 09 2f 2a 69 6e 63 | += 1;..|.../*inc|
|00000e90| 72 65 6d 65 6e 74 20 73 | 74 72 69 6e 67 20 63 6f |rement s|tring co|
|00000ea0| 75 6e 74 65 72 2a 2f 0d | 69 66 28 77 68 69 63 68 |unter*/.|if(which|
|00000eb0| 73 74 72 20 3d 3d 20 34 | 37 29 20 77 68 69 63 68 |str == 4|7) which|
|00000ec0| 73 74 72 20 3d 20 31 3b | 20 2f 2a 65 6e 66 6f 72 |str = 1;| /*enfor|
|00000ed0| 63 65 20 6c 69 6d 69 74 | 2a 2f 0d 73 77 69 74 63 |ce limit|*/.switc|
|00000ee0| 68 28 77 68 69 63 68 73 | 74 72 29 0d 7b 0d 63 61 |h(whichs|tr).{.ca|
|00000ef0| 73 65 20 31 3a 0d 09 45 | 72 61 73 65 52 65 63 74 |se 1:..E|raseRect|
|00000f00| 28 26 77 72 29 3b 09 09 | 09 09 2f 2a 62 65 67 69 |(&wr);..|../*begi|
|00000f10| 6e 20 62 79 20 65 72 61 | 73 69 6e 67 20 77 69 6e |n by era|sing win|
|00000f20| 64 6f 77 2a 2f 0d 09 4d | 6f 76 65 54 6f 28 39 35 |dow*/..M|oveTo(95|
|00000f30| 2c 31 36 29 3b 0d 09 54 | 65 78 74 46 61 63 65 28 |,16);..T|extFace(|
|00000f40| 62 6f 6c 64 29 3b 0d 09 | 44 72 61 77 53 74 72 69 |bold);..|DrawStri|
|00000f50| 6e 67 28 22 4d 61 63 54 | 75 74 6f 72 22 29 3b 20 |ng("MacT|utor"); |
|00000f60| 09 2f 2a 70 75 74 20 74 | 69 74 6c 65 20 69 6e 20 |./*put t|itle in |
|00000f70| 62 6f 6c 64 66 61 63 65 | 2a 2f 0d 09 54 65 78 74 |boldface|*/..Text|
|00000f80| 46 61 63 65 28 30 29 3b | 09 09 09 09 2f 2a 72 65 |Face(0);|..../*re|
|00000f90| 73 74 6f 72 65 20 6e 6f | 72 6d 61 6c 20 66 61 63 |store no|rmal fac|
|00000fa0| 65 2a 2f 0d 09 62 72 65 | 61 6b 3b 0d 0d 63 61 73 |e*/..bre|ak;..cas|
|00000fb0| 65 20 34 3a 0d 09 4d 6f | 76 65 54 6f 28 34 2c 33 |e 4:..Mo|veTo(4,3|
|00000fc0| 32 29 3b 44 72 61 77 53 | 74 72 69 6e 67 28 22 54 |2);DrawS|tring("T|
|00000fd0| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 50 72 6f |he Macin|tosh Pro|
|00000fe0| 67 72 61 6d 6d 69 6e 67 | 20 4a 6f 75 72 6e 61 6c |gramming| Journal|
|00000ff0| 22 29 3b 0d 09 62 72 65 | 61 6b 3b 0d 63 61 73 65 |");..bre|ak;.case|
|00001000| 20 37 3a 0d 09 4d 6f 76 | 65 54 6f 28 31 32 2c 34 | 7:..Mov|eTo(12,4|
|00001010| 38 29 3b 44 72 61 77 53 | 74 72 69 6e 67 28 22 a4 |8);DrawS|tring(".|
|00001020| d0 a4 d0 a4 d0 a4 d0 a4 | d0 a4 d0 a4 d0 a4 d0 a4 |........|........|
|00001030| d0 a4 d0 a4 d0 a4 d0 a4 | d0 a4 d0 a4 d0 a4 d0 a4 |........|........|
|00001040| d0 a4 22 29 3b 0d 09 62 | 72 65 61 6b 3b 0d 63 61 |..");..b|reak;.ca|
|00001050| 73 65 20 31 30 3a 0d 09 | 4d 6f 76 65 54 6f 28 34 |se 10:..|MoveTo(4|
|00001060| 2c 36 38 29 3b 44 72 61 | 77 53 74 72 69 6e 67 28 |,68);Dra|wString(|
|00001070| 22 a5 20 50 72 6f 67 72 | 61 6d 6d 69 6e 67 20 69 |". Progr|amming i|
|00001080| 6e 66 6f 72 6d 61 74 69 | 6f 6e 21 22 29 3b 0d 09 |nformati|on!");..|
|00001090| 62 72 65 61 6b 3b 09 0d | 63 61 73 65 20 31 33 3a |break;..|case 13:|
|000010a0| 0d 09 4d 6f 76 65 54 6f | 28 34 2c 38 34 29 3b 44 |..MoveTo|(4,84);D|
|000010b0| 72 61 77 53 74 72 69 6e | 67 28 22 a5 20 50 61 73 |rawStrin|g(". Pas|
|000010c0| 63 61 6c 2c 20 43 2c 20 | 41 73 73 65 6d 62 6c 79 |cal, C, |Assembly|
|000010d0| 2c 20 4e 65 6f 6e 2c 20 | 42 61 73 69 63 21 22 29 |, Neon, |Basic!")|
|000010e0| 3b 0d 09 62 72 65 61 6b | 3b 0d 63 61 73 65 20 31 |;..break|;.case 1|
|000010f0| 36 3a 0d 09 4d 6f 76 65 | 54 6f 28 34 2c 31 30 30 |6:..Move|To(4,100|
|00001100| 29 3b 44 72 61 77 53 74 | 72 69 6e 67 28 22 a5 20 |);DrawSt|ring(". |
|00001110| 4c 69 73 70 2c 20 4d 6f | 64 75 6c 61 20 32 2c 20 |Lisp, Mo|dula 2, |
|00001120| 46 6f 72 74 68 2c 20 61 | 6e 64 20 6d 6f 72 65 21 |Forth, a|nd more!|
|00001130| 22 29 3b 0d 09 62 72 65 | 61 6b 3b 0d 63 61 73 65 |");..bre|ak;.case|
|00001140| 20 31 39 3a 0d 09 4d 6f | 76 65 54 6f 28 34 2c 31 | 19:..Mo|veTo(4,1|
|00001150| 31 36 29 3b 44 72 61 77 | 53 74 72 69 6e 67 28 22 |16);Draw|String("|
|00001160| a5 20 54 65 63 68 6e 69 | 63 61 6c 20 49 6e 66 6f |. Techni|cal Info|
|00001170| 72 6d 61 74 69 6f 6e 21 | 22 29 3b 0d 09 62 72 65 |rmation!|");..bre|
|00001180| 61 6b 3b 0d 63 61 73 65 | 20 32 32 3a 0d 09 4d 6f |ak;.case| 22:..Mo|
|00001190| 76 65 54 6f 28 34 2c 31 | 33 32 29 3b 44 72 61 77 |veTo(4,1|32);Draw|
|000011a0| 53 74 72 69 6e 67 28 22 | a5 20 54 68 65 20 6e 6f |String("|. The no|
|000011b0| 20 66 6c 75 66 66 20 4d | 61 63 69 6e 74 6f 73 68 | fluff M|acintosh|
|000011c0| 20 6d 61 67 61 7a 69 6e | 65 22 29 3b 0d 09 62 72 | magazin|e");..br|
|000011d0| 65 61 6b 3b 0d 63 61 73 | 65 20 32 35 3a 4d 6f 76 |eak;.cas|e 25:Mov|
|000011e0| 65 54 6f 28 34 2c 31 34 | 38 29 3b 44 72 61 77 53 |eTo(4,14|8);DrawS|
|000011f0| 74 72 69 6e 67 28 22 a5 | 20 24 33 30 2f 79 72 20 |tring(".| $30/yr |
|00001200| 55 53 2d 24 34 35 20 43 | 61 6e 61 64 61 2d 24 36 |US-$45 C|anada-$6|
|00001210| 30 20 66 6f 72 65 69 67 | 6e 22 29 3b 0d 09 62 72 |0 foreig|n");..br|
|00001220| 65 61 6b 3b 0d 63 61 73 | 65 20 32 38 3a 4d 6f 76 |eak;.cas|e 28:Mov|
|00001230| 65 54 6f 28 34 2c 31 36 | 34 29 3b 44 72 61 77 53 |eTo(4,16|4);DrawS|
|00001240| 74 72 69 6e 67 28 22 3d | 3d 3d 3d 3d 3d 3d 3d 3d |tring("=|========|
|00001250| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001260| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 22 29 3b 0d 09 62 |========|==");..b|
|00001270| 72 65 61 6b 3b 0d 63 61 | 73 65 20 33 31 3a 0d 09 |reak;.ca|se 31:..|
|00001280| 09 4d 6f 76 65 54 6f 28 | 32 30 2c 31 38 30 29 3b |.MoveTo(|20,180);|
|00001290| 0d 09 09 54 65 78 74 46 | 61 63 65 28 69 74 61 6c |...TextF|ace(ital|
|000012a0| 69 63 29 3b 0d 09 09 44 | 72 61 77 53 74 72 69 6e |ic);...D|rawStrin|
|000012b0| 67 28 22 50 4f 20 42 6f | 78 20 38 34 36 2c 20 50 |g("PO Bo|x 846, P|
|000012c0| 6c 61 63 65 6e 74 69 61 | 2c 20 43 41 20 39 32 36 |lacentia|, CA 926|
|000012d0| 37 30 22 29 3b 0d 09 09 | 54 65 78 74 46 61 63 65 |70");...|TextFace|
|000012e0| 28 30 29 3b 0d 09 09 62 | 72 65 61 6b 3b 0d 63 61 |(0);...b|reak;.ca|
|000012f0| 73 65 20 33 37 3a 0d 09 | 09 72 67 6e 20 3d 20 4e |se 37:..|.rgn = N|
|00001300| 65 77 52 67 6e 28 29 3b | 09 09 09 09 09 2f 2a 77 |ewRgn();|...../*w|
|00001310| 65 20 6e 65 65 64 20 61 | 20 6e 65 77 20 72 65 67 |e need a| new reg|
|00001320| 69 6f 6e 20 74 6f 20 73 | 63 72 6f 6c 6c 2a 2f 0d |ion to s|croll*/.|
|00001330| 09 09 66 6f 72 28 69 20 | 3d 20 30 3b 69 3c 39 35 |..for(i |= 0;i<95|
|00001340| 3b 69 2b 2b 29 0d 09 09 | 09 53 63 72 6f 6c 6c 52 |;i++)...|.ScrollR|
|00001350| 65 63 74 28 26 77 72 2c | 30 2c 2d 32 2c 72 67 6e |ect(&wr,|0,-2,rgn|
|00001360| 29 3b 20 09 2f 2a 73 63 | 72 6f 6c 6c 20 32 20 70 |); ./*sc|roll 2 p|
|00001370| 69 78 65 6c 73 20 61 74 | 20 61 20 74 69 6d 65 2a |ixels at| a time*|
|00001380| 2f 0d 09 09 44 69 73 70 | 6f 73 65 52 67 6e 28 72 |/...Disp|oseRgn(r|
|00001390| 67 6e 29 3b 09 09 09 20 | 20 09 2f 2a 20 64 6f 6e |gn);... | ./* don|
|000013a0| 65 20 77 69 74 68 20 72 | 65 67 69 6f 6e 2a 2f 0d |e with r|egion*/.|
|000013b0| 09 09 62 72 65 61 6b 3b | 0d 64 65 66 61 75 6c 74 |..break;|.default|
|000013c0| 3a 0d 09 09 62 72 65 61 | 6b 3b 0d 09 09 0d 09 7d |:...brea|k;.....}|
|000013d0| 20 2f 2a 65 6e 64 20 6f | 66 20 73 77 69 74 63 68 | /*end o|f switch|
|000013e0| 2a 2f 0d 09 09 0d 7d 00 | 00 00 00 00 00 00 00 00 |*/....}.|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 01 00 00 00 01 1e | 00 00 00 1e 00 00 00 66 |........|.......f|
|00001410| ba 05 a6 50 8f 48 6e ff | f0 20 6c ff e8 20 50 2f |...P.Hn.|. l.. P/|
|00001420| 28 00 0e 4e ba 02 e4 50 | 8f 20 6c ff e8 20 50 0c |(..N...P|. l.. P.|
|00001430| 0a 4d 61 63 54 75 74 6f | 72 2e 63 75 02 00 00 00 |.MacTuto|r.cu....|
|00001440| 54 45 58 54 45 44 49 54 | 01 00 00 00 00 00 00 00 |TEXTEDIT|........|
|00001450| 00 00 54 45 58 54 45 44 | 49 54 01 00 00 00 00 00 |..TEXTED|IT......|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 99 a0 89 30 00 00 | 13 67 00 00 01 84 68 00 |.....0..|.g....h.|
|00001480| 28 00 08 66 00 00 40 48 | 6e ff f8 4e ba 02 8e 58 |(..f..@H|n..N...X|
|00001490| 8f 43 ee ff f8 41 ee ff | f0 70 03 4e ba 03 3c 3f |.C...A..|.p.N..<?|
|000014a0| 3c 00 3a 3f 3c 00 40 48 | 6e ff f0 4e ba 05 0a 50 |<.:?<.@H|n..N...P|
|000014b0| 8f 48 6e ff f0 20 6c ff | e8 20 50 2f 28 00 0e 4e |.Hn.. l.|. P/(..N|
|000014c0| ba 02 48 50 8f 20 6c ff | e8 20 50 0c 68 00 29 00 |..HP. l.|. P.h.).|
|000014d0| 08 66 00 00 40 48 6e ff | f8 4e ba 02 40 58 8f 43 |.f..@Hn.|.N..@X.C|
|000014e0| ee ff f8 41 ee ff f0 70 | 03 4e ba 02 ee 3f 3c 00 |...A...p|.N...?<.|
|000014f0| 35 3f 3c 00 37 48 6e ff | f0 4e ba 04 bc 50 8f 48 |5?<.7Hn.|.N...P.H|
|00001500| 00 00 00 04 02 09 04 03 | 00 00 00 0a 00 09 06 4d |........|.......M|
|00001510| 6f 6e 61 63 6f 00 00 00 | 00 04 00 06 00 04 00 00 |onaco...|........|
|00001520| 01 00 00 00 01 1e 00 00 | 00 1e 00 00 00 66 00 00 |........|.....f..|
|00001530| cc 24 02 f2 00 00 00 1c | 00 5a 00 02 45 4f 50 54 |.$......|.Z..EOPT|
|00001540| 00 00 00 1a 45 46 4e 54 | 00 00 00 26 45 54 41 42 |....EFNT|...&ETAB|
|00001550| 00 00 00 32 03 ee 00 00 | 00 00 00 00 00 00 00 00 |...2....|........|
|00001560| 03 eb ff ff 00 00 00 08 | 00 00 d9 2a 03 ec ff ff |........|...*....|
|00001570| 00 00 00 16 00 00 d9 12 | 0b 65 64 69 74 6f 72 20 |........|.editor |
|00001580| 69 6e 66 6f 00 00 00 00 | 00 00 00 00 00 00 00 00 |info....|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+